<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
                      "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head profile="http://gmpg.org/xfn/11">
    <title>{$title}</title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <script type="text/javascript" src="{$subdir}media/scripts/jquery.js"></script>
    <script type="text/javascript" src="{$subdir}media/scripts/jquery.prettydate.js"></script>
    <script type="text/javascript" src="{$subdir}media/scripts/jquery.listnav-2.1.js"></script>

    <link rel="stylesheet" type="text/css" href="{$subdir}media/styles/reset.css" />
    <link rel="stylesheet" type="text/css" href="{$subdir}media/styles/style.css" />
    <link rel="stylesheet" type="text/css" href="{$subdir}media/styles/buttons/round-button.css" />
    <link rel="stylesheet" type="text/css" href="{$subdir}media/styles/buttons/sort-button.css" />
</head>
<body>

<div id="headline">
    <h2>{$package}</h2>
    <p class="rmenu">
        {assign var="packagehaselements" value=false}
        {foreach from=$packageindex item=thispackage}
            {if in_array($package, $thispackage)}
                {assign var="packagehaselements" value=true}
            {/if}
        {/foreach}
        {if $packagehaselements}
          [ <a href="{$subdir}classtrees_{$package}.html" class="menu">class tree: {$package}</a> ]
          [ <a href="{$subdir}elementindex_{$package}.html" class="menu">index: {$package}</a> ]
        {/if}
        [ <a href="{$subdir}elementindex.html" class="menu">all elements</a> ]
    </p>
</div>

<table width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr valign="top">
    <td width="200" class="menu">
    
    <table id="toc" class="toc" width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr valign="top">
    <td class="menu">
    
    <div id="toctitle">
    {if $hastodos}
        <div style="float: right;">
        <a href="{$subdir}{$todolink}">Todo List</a>
        </div>
    {/if}
    <h2>Contents</h2>
    </div>
    
{if count($ric) >= 1}
	<div id="ric">
		{section name=ric loop=$ric}
			<p><a href="{$subdir}{$ric[ric].file}">{$ric[ric].name}</a></p>
		{/section}
	</div>
{/if}
      {* <h5>Packages</h5>*}
      <ul class="menu">
      {*section name=packagelist loop=$packageindex}
       <li class="package"><a href="{$subdir}{$packageindex[packagelist].link}">{$packageindex[packagelist].title}</a></li>
      {/section*}
      </ul>

      <div class="ddmenu">{$package}<span class="downarr"></span>
          <div class="ddmenu-w">
              <table>
              {include file="package_folder.tpl" items=$packageindex}
              </table>
          </div>
      </div>

        {if $tutorials}
            <h5>Tutorials/Manuals</h5>

            {if $tutorials.pkg}
                <strong>Package-level:</strong>
                {section name=ext loop=$tutorials.pkg}
                    {$tutorials.pkg[ext]}
                {/section}
            {/if}
            {if $tutorials.cls}
                <strong>Class-level:</strong>
                {section name=ext loop=$tutorials.cls}
                    {$tutorials.cls[ext]}
                {/section}
            {/if}
            {if $tutorials.proc}
                <strong>Procedural-level:</strong>
                {section name=ext loop=$tutorials.proc}
                    {$tutorials.proc[ext]}
                {/section}
            {/if}
        {/if}

      {if !$noleftindex}{assign var="noleftindex" value=false}{/if}
      {if !$noleftindex}
      {if $compiledclassindex}
      <h5>Classes</h5>
      {eval var=$compiledclassindex}
      {/if}

      {if $compiledinterfaceindex|trim}
      <h5>Interfaces</h5>

      {eval var=$compiledinterfaceindex}
      {/if}

      {*if $compiledfileindex}
      <b>Files:</b><br />
      {eval var=$compiledfileindex}
      {/if*}
      {/if}
      
      </td>
      </tr>
      </table>
    </td>
    <td>

<div class="main">